/*
 * @Description: 入口文件
 * @Author: zheng yiliang
 * @Date: 2021-05-09 10:39:14
 * @LastEditTime: 2021-06-13 14:49:50
 * @LastEditors: zheng yiliang
 */
import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import '@/plugins/elementUI' // elementui按需加载
import './styles/index.scss'
import '@/filters'
import service from '@/plugins/axios'
import VueLazyload from 'vue-lazyload'
// import Vconsole from 'vconsole'
// import VueParticles from 'vue-particles'
import 'font-awesome/css/font-awesome.min.css'
import wow from 'wowjs'
import 'wowjs/css/libs/animate.css'
import '@/utils/mouseClick'

Vue.prototype.$wow = wow
Vue.prototype.$axios = service
// import animated from 'animate.css'
// import { WOW } from 'wowjs'

// mount with global

// Vue.use(VueParticles)
// Vue.use(animated)

Vue.use(VueLazyload, {
  loading: require('../public/images/loading.gif'), // 加载中图片，一定要有，不然会一直重复加载占位图
  error: require('../public/images/default.png') // 加载失败图片
})

// const vconsole = new Vconsole()
// console.log(vconsole)

// const wow = new WOW({ live: false }).init()
// console.log(wow)

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
